package com.ydd.mapper;

import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import com.ydd.dto.YddCateDto;
import com.ydd.dto.YddTagDto;
import com.ydd.entity.YddTag;
import org.apache.ibatis.annotations.Mapper;
import org.apache.ibatis.annotations.Param;

import java.awt.*;
import java.util.List;
import org.apache.ibatis.annotations.Mapper;
import org.apache.ibatis.annotations.Select;

/**
 * <p>
 *  Mapper 接口
 * </p>
 *
 * @author zhangxiaojun
 * @since 2023-05-14
 */
@Mapper
public interface YddTagMapper extends BaseMapper<YddTag> {

    /**
     * 标签详情
     * @param id
     * @return
     */
    @Select("select * from ydd_tag where id = #{id}")
    YddTagDto getLabelById(@Param("id") Long id);

}
